#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>

size_t sim_strlen(char* p)
{
	int n = 0;
	while (*p++ != '\0')
	{
		n++;
	}
	return n;
}


int main()
{
	char arr[] = "abcdefg";
	size_t n = sim_strlen(arr);
	printf("%zd", n);
	return 0;
}